//
//  Consume_ScreenTableViewCell.m
//  JinFuThree
//
//  Created by 爱尚 on 2018/9/3.
//  Copyright © 2018年 毛韶谦. All rights reserved.
//

#import "Consume_ScreenTableViewCell.h"

@implementation Consume_ScreenTableViewCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self initialize];
    }
    return self;
}

-(void)initialize{
    
    _titleLabel = [[UILabel alloc]init];
    _titleLabel.text = @"手机";
    _titleLabel.textColor = HexColor(0x666666);
    _titleLabel.textAlignment = NSTextAlignmentCenter;
    _titleLabel.font = UIFontMaoNormal;
    [self addSubview:_titleLabel];
    [_titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
    
        make.centerX.centerY.mas_equalTo(self);
        make.height.mas_offset(@15);
        
    }];
    
    _lineView = [[UIView alloc]init];
    _lineView.backgroundColor = HexColor(0x5B85FD);
    [self addSubview:_lineView];
    [_lineView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(self);
        make.width.mas_offset(@3);
        make.height.mas_offset(@35);
        make.centerY.mas_equalTo(self);
    }];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
